package com.itheima.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.common.PageResult7;
import com.itheima.common.Simple;
import com.itheima.entity.SubjectsDirectorys;
import com.itheima.entity.SubjectsDirectorysDto;
import com.itheima.entity.SubjectsDto;

import java.util.List;

/**
 * @author cfr
 * @date 2022/1/10
 * @TIME:15:29
 */
public interface SubjectsDirectorysService extends IService<SubjectsDirectorys> {
    PageResult7 findPage(Long page, Long pagesize, String directoryName, Integer state,Integer subjectID);

    String add(SubjectsDirectorys subjectsDirectorys);

    String state(Integer id, Integer state);

    String modify(SubjectsDirectorys subjectsDirectorys);

    String delete(SubjectsDirectorysDto subjectsDirectorysDto);

    SubjectsDirectorysDto findById(Integer id);

    List<Simple> findDirectorys(Integer subjectID);
}
